{% extends 'layout.html' %}
{% block title %}添加换电站{% endblock %}
{% block content %}
<div class="row">
    <div class="col" align="center">
        <p><h2>添加换电站</h2></p>
        <form action="/ai_inspect/station_create/" method="POST">
            {% csrf_token %}
            <table class="table table-striped">
                <tr>
                    <td>{{ form.station_id.label_tag }}</td>
                    <td>{{ form.station_id }}</td>
                </tr>
                <tr>
                    <td>{{ form.station_name.label_tag}}</td>
                    <td>{{ form.station_name }}</td>
                </tr>
                <tr>
                    <td>{{ form.business_unit.label_tag }}</td>
                    <td>{{ form.business_unit }}</td>
                </tr>
                <tr>
                    <td>{{ form.group_id.label_tag }}</td>
                    <td>{{ form.group_id }}</td>
                </tr>
                <tr>
                    <td>{{ form.station_maker.label_tag }}</td>
                    <td>{{ form.station_maker }}</td>
                </tr>
                <tr>
                    <td>{{ form.station_type.label_tag }}</td>
                    <td>{{ form.station_type }}</td>
                </tr>
                <tr>
                    <td>{{ form.software_version.label_tag }}</td>
                    <td>{{ form.software_version }}</td>
                </tr>
                <tr>
                    <td>{{ form.robot_type.label_tag }}</td>
                    <td>{{ form.robot_type }}</td>
                </tr>
                <tr>
                    <td><button type="reset" class="btn btn-danger btn-block">重置</button></td>
                    <td><button type="submit" class="btn btn-primary btn-block">提交</button></td>
                </tr>
            </table>
        </form>
    </div>
</div>
{% endblock %}